package com.talent.pojo;

import java.util.Date;

public class Notice {
    private Integer id;

    private String title;

    private String content;

    private Integer creator;
    
    private Date time;


	public Notice(Integer id, String title, String content, Integer creator,Date time) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.creator = creator;
        this.time = time;
    }

    public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Notice() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }
}